package com.example.springconfigfile.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;

@Data
@Component
@ConfigurationProperties(prefix = "map")
public class MapConfig {
    private HashMap<String, String> kv;

}
